Release 10.1A: OpenEdge Development:
Progress Dynamics Administration
analyzeIf
This function analyzes an
IFexpression from an XML<ActionParam>node and returns either theTHENorELSEvalue to use for the parameter.The
IFexpression begins with a question mark (?) followed by the expression the DCU evaluates. Semicolons (;) separate the results. The value after the first semicolon is theTHENresult, and the value after the second semicolon is theELSEresult. So, the following expression evaluates to “If the value ofdb_build_icfdbisYES, then go to theGetICFSiteDatapage, else go to theGetICFDBPatchespage.”, as shown:
Location: install\prc\inuimngrp.p Parameters:
INPUT pcIfStatement AS CHARACTERThe
Returns: None (procedure) Notes: While you can create complexIFexpression from the XML<ActionParam>node.IFexpressions using the available operators, you cannot nestIFexpressions. The results must be single character strings as with standard parameters.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |